﻿using System;

namespace ProjScan.Submodules.Effects_Play_Check
{
	// Token: 0x02000195 RID: 405
	internal class ProjScanEffectEvlaData
	{
		// Token: 0x06000DD2 RID: 3538 RVA: 0x0003E470 File Offset: 0x0003C670
		public int GetPixDrawAverage()
		{
			bool flag = this.pixDrawTimes == 0;
			int result;
			if (flag)
			{
				result = 0;
			}
			else
			{
				result = this.pixTotal / this.pixDrawTimes;
			}
			return result;
		}

		// Token: 0x06000DD3 RID: 3539 RVA: 0x0003E4A4 File Offset: 0x0003C6A4
		public int GetPixActualDrawAverage()
		{
			bool flag = this.pixDrawTimes == 0;
			int result;
			if (flag)
			{
				result = 0;
			}
			else
			{
				result = this.pixActualDrawTotal / this.pixDrawTimes;
			}
			return result;
		}

		// Token: 0x06000DD4 RID: 3540 RVA: 0x0003E4D8 File Offset: 0x0003C6D8
		public float GetPixRate()
		{
			bool flag = this.GetPixDrawAverage() == 0;
			float result;
			if (flag)
			{
				result = 0f;
			}
			else
			{
				result = (float)this.GetPixActualDrawAverage() * 1f / (float)this.GetPixDrawAverage();
			}
			return result;
		}

		// Token: 0x0400089C RID: 2204
		public int pixDrawTimes = 0;

		// Token: 0x0400089D RID: 2205
		public int pixTotal = 0;

		// Token: 0x0400089E RID: 2206
		public int pixActualDrawTotal = 0;

		// Token: 0x0400089F RID: 2207
		public string quality;
	}
}
